package client;

public class Login {

	private String Username;
	private String Password;
	private int state;
	private int clearance;
	
	public Login(){}
	
	public Object checkvalid(String User, String Pass, Client c)
	{
		this.Username=User;
		this.Password=Pass;		
		c.accept(this);		
		return (c.getMsg());
	}
	
	public void setState (int a)
	{
		this.state=a;
	}
	
	public int getState ()
	{
		return (this.state);
	}
	
	public void setclearance (int d)
	{
		this.clearance=d;
	}
	
	public int getclearance ()
	{
		return (this.clearance);
	}
	
	public void setUsername (String b)
	{
		this.Username=b;
	}
	
	public void setPassword (String c)
	{
		this.Password=c;
	}
	
	public String getUsername ()
	{
		return (this.Username);
	}
	
	public String getPassword ()
	{
		return (this.Password);
	}
	
}
